]> dgit.raspbian.org Git - gnome-shell.git/commit
viewSelector: Ignore key-presses during non-overview modals
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 12 Nov 2012 17:41:14 +0000 (18:41 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 28 Nov 2012 20:15:09 +0000 (21:15 +0100)
commit2a5eed1eb4a039f938477bfb3890f145f88eccdf
treeaeb28101c872273333cd0521800fcc56273c798e
parentd517c13d7aedd9c2f1ebf8bc362ac1143d0a09a4
viewSelector: Ignore key-presses during non-overview modals

Since commit 0c807bddaf4d, the run dialog no longer handles Escape
key presses itself but uses the action key mechanism of modal dialogs.
As the latter uses key-release events, our own handling of the Escape
key runs on key-press.
Fix this by bailing out early if anything has pushed a modal in addition
to the overview (like system modals, looking glass, ...).

https://bugzilla.gnome.org/show_bug.cgi?id=688196
js/ui/viewSelector.js